package demo01;

public class Chengxu13 {
	public static void main(String[] args) {
		for (int i = 0; i <= 1000000; i++){
			if (Math.sqrt(i + 100) == (int)Math.sqrt(i + 100)){
				if (Math.sqrt(i + 168) == (int)Math.sqrt(i + 168)){
					System.out.println(i);
				}
			}
		}
	}
}
